package com.sam.listener;

import lombok.Data;
import org.springframework.context.ApplicationEvent;


@Data
public class DataExtractScheduleEvent extends ApplicationEvent {

    public DataExtractScheduleEvent(Object source) {
        super(source);
    }

    public DataExtractScheduleEvent(Integer total, Integer code) {
        super("");
        this.totalCount = total;
        this.code = code;
    }

    public DataExtractScheduleEvent() {
        super("");
    }

    private Integer code;
    private Integer totalCount;
}
